package zhuyingying20240318;

/**
 * @Package:PACKAGE_NAME
 * @Author:zhuyingying
 * @Created:2024/3/1820:23
 */
public class SmallCar extends Car {
    public SmallCar() {
    }
    @Override
    public void drive(){
        super.drive();
        System.out.println("小汽车正在行驶");
    }
    public void trumpet(String a) {
        System.out.println(a + "汽车按喇叭");
    }
}
